package com.realtyreg.service.form;

import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.Valid;

/**
 * Created by Petro 08.03.13 21:32
 */
public class ChangePassFromProfileForm {
    @NotEmpty
    private String currentPassword;
    
    @Valid
    PasswordForm passwordForm;

    public String getCurrentPassword() {
        return currentPassword;
    }

    public void setCurrentPassword(String currentPassword) {
        this.currentPassword = currentPassword;
    }

    public PasswordForm getPasswordForm() {
        return passwordForm;
    }

    public void setPasswordForm(PasswordForm passwordForm) {
        this.passwordForm = passwordForm;
    }
}
